<template>
	<div id="cate_left">
		<div class="category_left">
			<ul class="childbox">
				<li class="" v-for="item in leftDatas">
					<router-link :to="'/category/'+item.Id">
						{{item.CategoryName}}
					</router-link>
				</li>
			</ul>
		</div>
	</div>
</template>
<script>
	export default {
		data() {
			return {
				leftDatas: [],
			}
		},
		mounted() {
			this.getLeftDatas();
		},
		methods: {
			getLeftDatas() {
				let _this = this;
				_this.$http.get('/Client/Categories', null, localStorage.Authorization, res => {
					_this.leftDatas = res.data.list;
					console.log('分类res', res)
				})
			},
			
		}
	}
</script>